package androidx.viewpager2.adapter;

import androidx.lifecycle.e;
import androidx.lifecycle.f;
import androidx.lifecycle.h;
import b.f.l.s;

class FragmentStateAdapter$2 implements f {

    /* renamed from: a  reason: collision with root package name */
    final /* synthetic */ b f1077a;

    /* renamed from: b  reason: collision with root package name */
    final /* synthetic */ a f1078b;

    public void d(h hVar, e.a aVar) {
        if (!this.f1078b.E()) {
            hVar.getLifecycle().c(this);
            if (s.K(this.f1077a.M())) {
                this.f1078b.D(this.f1077a);
            }
        }
    }
}
